package com.tfjybj.itoo.teach.provider.service.impl;

import com.dmsdbj.itoo.tool.base.service.impl.BaseServicePlusImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.tfjybj.itoo.teach.entity.TeacherCourseTeachClassEntity;
import com.tfjybj.itoo.teach.provider.dao.TeacherCourseTeachClassDao;
import com.tfjybj.itoo.teach.provider.service.TeacherCourseTeachClassService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * TeacherCourseTeachClassService接口实现类
 * ${base}表
 *
 * @author 田成荣
 * @version 2.0.0
 * @since 2.0.0 2018-11-08 19:34:10
 */
@Service("teacherCourseTeachClassService")
public class TeacherCourseTeachClassServiceImpl extends BaseServicePlusImpl<TeacherCourseTeachClassDao, TeacherCourseTeachClassEntity> implements TeacherCourseTeachClassService {

	//region 模板生成
    @Resource
    private TeacherCourseTeachClassDao teacherCourseTeachClassDao;
	
	 @Override
    public PageInfo<TeacherCourseTeachClassEntity> queryByLikeTeacherCourseId(String teacherCourseId, Integer pageNum, Integer pageSize) {
        PageHelper.startPage(pageNum, pageSize);
        return new PageInfo<>(teacherCourseTeachClassDao.queryLikeTeacherCourseId(teacherCourseId));
    }
	//endregion

    /* **********************************以下为非模板生成的内容********************************* */
}
